import request from '@/util/request.js'

export function getTrainListApi() {
	return request({
		url: '/driver/inquireAboutTheTrainSchedule',
		method: 'GET'
	})
}

export function getTrainDetailApi(data) {
	return request({
		url: '/driver/inquireAboutTheTrainScheduleByid',
		method: 'GET',
		data
	})
} 